gadgets.config.init = function() {};

var osapi = {};
osapi._registerMethod = function(method, transport) {};

/**
 * @constructor
 */
osapi.Batch = function() {};

/**
 * @return {osapi.Batch}
 */
osapi.newBatch = function() {};

/**
 * @param {string} key
 * @param {Object} request
 */
osapi.Batch.prototype.add = function(key, request) {};

/**
 * @param {Function} callback
 */
osapi.Batch.prototype.execute = function(callback) {};
